
import { withRouter } from "next/router"

function Text({router}) {
    console.log(router)
    return (
        <>
            <h3>让我来试试多级路由</h3>
            <p>{router.query.tid}</p>
        </>
    )
}
export default withRouter(Text);